package com.hundsun.fcp.openapi.trade.bean;

public class Result {
	public static final String SUCCESS = "0";
	
	/** 状态码.0:表示成功 */
	public String state = "-1";

	/** 返回信息.如:返回成功 */
	public String info;

	/** 服务器响应时间 */
	public String responsetime;
	
	/**
	 * 判断是否成功
	 * @return
	 */
	public boolean isSuccess(){
		return SUCCESS.equals(state) ;				
	}
}
